package com.example.websocket.domain;

import com.example.websocket.config.core.json.annotation.ExtendField;
import com.example.websocket.config.core.json.extender.impl.DictDataExtender;
import com.example.websocket.config.core.json.extender.impl.UserExtender;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class UserDto {

    @ExtendField(name = "userName", extender = UserExtender.class)
    public Integer id;

    private String name;

    @ExtendField(extender = DictDataExtender.class)
    private Integer userType;

    private LocalDateTime birthDate;

    private Date birthDate2;

}
